﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Activation;
using System.ServiceModel.Web;
using System.Text;

   namespace SandwichServices
   {
     [ServiceContract(Namespace = "SandwichServices")]
     [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
      public class CostService
     {
         [OperationContract]
         public double CostOfSandwiches(int quantity)
         {
             return 1.25 * quantity;
         }
         public double CostOfDrinks(int quantity)
         {
             return .75 * quantity;
         }
      }
    }